Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 2 - JManager Reference / JManager Functions
Abstract Window Toolkit Control Functions /


JMGetAWTContextFrame

Gets a particular frame associated with an AWT context.

OSStatus JMGetAWTContextFrame (
                     JMAWTContextRef context, 
                     UInt32 frameIndex, 
                     JMFrameRef* frame);
context
The AWT context that contains the frame.
frameIndex
The index number of the frame.
frame
A pointer to the frame. On return, this parameter holds the frame with index frameIndex.
function result
A result code; see "JManager Result Codes".
DISCUSSION
The index numbers for frames range from 0 to frameCount -1 (as determined by the JMCountAWTContextFrames function), with the most recently added frame having the highest number. The index number of a particular frame is not necessarily constant; removing or adding frames can cause the index number to change.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
10 DEC 1997